﻿using EventBus.Common;
using RabbitMQ.Client;
using System;
using System.Collections.Generic;
using System.Text;
namespace EventBus.RabbitMQ
{
    public class CommandHandlerPara<TCommand> where TCommand : ICommand
    {
        public CommandHandlerPara(byte[] byteArray, IModel channel, ulong deliveryTag)
        {
            ByteArray = byteArray;
            Channel = channel;
            DeliveryTag = deliveryTag;
        }

        public byte[] ByteArray { get; set; }

        public IModel Channel { get; set; }

        public ulong DeliveryTag { get; set; }
    }
}
